package com.example.demotest.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

public class OrderReviewDto {
    @NotBlank(message = "评价内容不能为空")
    @Size(max = 100, message = "评价内容不能超过100个字符")
    private String description;

    // Getter和Setter
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}